package com.QSystem.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private  Integer userId;
    private  String userName;
    private  String pwd;
    private  String nickName;

    public User(Integer userId, String userName, String pwd) {
        this.userId = userId;
        this.userName = userName;
        this.pwd = pwd;
        this.nickName="用户"+userId;
    }
}
